package csd.wyaiyr.com.config;

import java.io.Serializable;

/**
 * 返回结果集
 * Project Name:
 * Function:
 */
public class
Result<T> implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = -2077915717553459053L;

    private boolean success = false;

    private T data;

    private PageInfoResult page;

    private String errorMessage;

    private String statusCode;

    public PageInfoResult getPage() {
        return page;
    }

    public void setPage(PageInfoResult page) {
        this.page = page;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }
}
